Automattic\Jetpack\Publicize\Publicize_Base D

Total Complexity 218
Dependencies 8
Dependents 0
Total lines 1,835
Lines of code 803
Logical lines of code 376
Comment lines 783
Methods 61
Properties 16

Methods 61

Method Rating Maintainability Complexity Lines of code
save_meta()
B
39 23 58
get_filtered_connection_data()
B
36 20 73
get_publicize_conns_test_results()
A
40 13 60
should_submit_post_pre_checks()
A
46 14 41
show_options_popup()
A
52 14 22
get_profile_link()
A
46 13 36
update_published_message()
A
42 11 52
register_post_meta()
A
35 3 117
get_display_name()
A
55 8 20
get_service_label()
A
58 8 16
get_attached_media_image()
S
55 6 19
get_api_data()
S
51 5 28
is_enabled()
S
63 5 10
get_publicizing_services()
S
59 4 13
post_is_publicizeable()
S
62 4 12
add_jetpack_social_og_images()
S
56 3 19
get_social_opengraph_image()
S
59 3 15
get_username()
S
63 4 10
build_sprintf()
S
59 3 14
__construct()
S
50 1 31
current_user_can_access_publicize_data()
S
68 3 7
get_available_service_data()
S
62 2 12
get_dismissed_notices()
S
69 2 7
post_type_is_publicizeable()
S
71 2 6
publicize_connections_url()
S
71 2 5
get_profile_picture()
S
69 2 7
get_publicize_shares_info()
S
69 2 7
publicize_checkbox_default()
S
71 2 6
is_valid_facebook_connection()
S
66 2 8
parse_connection_error_code()
S
72 2 6
has_paid_plan()
S
68 2 7
calculate_scheduled_shares()
S
60 1 14
has_mastodon_connection_feature()
S
80 1 3
has_instagram_connection_feature()
S
80 1 3
has_social_image_generator_feature()
S
80 1 3
is_social_image_generator_enabled()
S
81 1 3
is_enhanced_publishing_enabled()
S
81 1 3
connect_url()
S
100 1 0
refresh_url()
S
100 1 0
disconnect_url()
S
100 1 0
get_connections()
S
100 1 0
get_connection()
S
100 1 0
has_enhanced_publishing_feature()
S
80 1 3
is_invalid_linkedin_connection()
S
74 1 4
get_connection_id()
S
100 1 0
blog_id()
S
81 1 3
test_publicize_conns()
S
81 1 3
test_connection()
S
100 1 0
is_global_connection()
S
79 1 3
post_is_done_sharing()
S
100 1 0
get_services()
S
100 1 0
user_id()
S
81 1 3
flag_post_for_publicize()
S
100 1 0
is_connecting_connection()
S
72 1 5
add_post_type_support()
S
80 1 3
message_meta_auth_callback()
S
80 1 3
unglobalize_connection()
S
100 1 0
globalize_connection()
S
100 1 0
disconnect()
S
100 1 0
get_connection_meta()
S
100 1 0
get_connection_unique_id()
S
100 1 0